package com.supermarket.manage.provider.stocking.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.pagehelper.Page;
import com.supermarket.manage.common.dto.stock.request.StockingPageParams;
import com.supermarket.manage.common.pojo.Stocking;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Faxon
 * @version 1.0
 * @date 2020-03-17 16:57
 **/
@Mapper
public interface StockingMapper extends BaseMapper<Stocking> {
    /**
     * 条件分页查询盘点单
     *
     * @param params
     * @return
     */
    Page<Stocking> getStockingPageList(StockingPageParams params);

    /**
     * 获取盘点单列表
     *
     * @param params
     * @return
     */
    List<Stocking> getStockingList(StockingPageParams params);
}
